package com.agent.mapper;

import com.agent.pojo.AsKeywords;
import com.agent.pojo.AsKeywordsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AsKeywordsMapper {
    int countByExample(AsKeywordsExample example);

    int deleteByExample(AsKeywordsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AsKeywords record);

    int insertSelective(AsKeywords record);

    List<AsKeywords> selectByExample(AsKeywordsExample example);

    AsKeywords selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AsKeywords record, @Param("example") AsKeywordsExample example);

    int updateByExample(@Param("record") AsKeywords record, @Param("example") AsKeywordsExample example);

    int updateByPrimaryKeySelective(AsKeywords record);

    int updateByPrimaryKey(AsKeywords record);
    
    List<AsKeywords> queryKeyword(@Param("keywords") String keywords);
}